<?php if(!defined("PATH_HD"))exit;C("SHOW_NOTICE",false);?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>验证码设置界面</title>
	<link type="text/css" rel="stylesheet" href="http://localhost/hb/easycms/admin/tpl/public/css/config.css"/>
</head>
<body>
	<form action="http://localhost/hb/easycms/admin.php/config/changecode" method='post'>
		<div class='add_wrap'>
			<h2 class='top'>验证码设置</h2>
			<table class='table3'>
			<?php $hd["list"]["n"]["total"]=0;
if(!empty($codedata)):
$hd_list_total = count($codedata);
$hd_list_row = min($hd_list_total,1000);
$hd_list_row = floor($hd_list_row/1);
$hd_list_id=0;
$hd_list_start=1;
$hd_list_step=0;foreach($codedata as $hd_list_key =>$hd_list_value):
if($hd_list_start<1){$hd_list_start++;continue;}
if($hd_list_step %1!=0){$hd_list_step++;continue;}
$hd_list_step++;$hd["list"]["n"]["first"]=$hd_list_id==0?true:false;
$hd["list"]["n"]["last"]=$hd_list_id>=$hd_list_row-1?true:false;
$hd["list"]["n"]["index"]=$hd_list_id+1;
$n=$hd_list_value;?>

	            <tr>
	            	<th width='20%'><?php echo $n['title'];?></th>
	            	<td width='70%'>
	                	<input type="text" class="input3" name="<?php echo $n['name'];?>" value="<?php echo $n['value'];?>"/>
	                	<span class="desc"><?php echo $n['title'];?></span>
	                </td>
	            </tr>
			<?php if($hd_list_id+1>=$hd_list_row){break;}
$hd_list_id++;
endforeach;
$hd["list"]["n"]["total"]=$hd_list_id+1;
endif;
?>
			</table>
		<p class='tijiao'>
			<input type='submit' value='修改验证码' class='bt1'>
		</p>
	</div>
	</form>
</body>
</html>